.. _`One-vs-Rest Classifier`: .. _`org.sysess.sympathy.machinelearning.onevsrest_classifier`: One-vs-Rest Classifier `````````````````````` .. image:: multioutput.svg :width: 48 Fits one binary classifier per class and predicts the class whose classifier is most confident. Useful for extending classifiers that only handle two classes, or when one model per class is wanted Definition :::::::::: Input ports ........... **model** | Type: model | Description: model | Optional number of ports: 1--1 (default: 1) Output ports ............ **out-model** | Type: model | Description: Output model Configuration ............. **Number of jobs** (n_jobs) The number of jobs to use for the computation: the `n_classes` one-vs-rest problems are computed in parallel. ``None`` means 1 unless in a :obj:`joblib.parallel_backend` context. ``-1`` means using all processors. See n_jobs for more details. .. versionchanged:: 0.20 `n_jobs` default changed from 1 to None Implementation .............. .. automodule:: node_ensemble :noindex: .. class:: OneVsRestClassifier :noindex: